package com.fgr.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiaokai
 * @since 2023-05-09
 */
@TableName("an_adapter")
public class Adapter implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 领养表主键
     */
    @TableId(value = "ad_id", type = IdType.AUTO)
    private Long adId;

    /**
     * 用户id
     */
    private Long adUid;

    /**
     * 动物id
     */
    private Long adAnid;

    /**
     * 领养时间
     */
    private LocalDateTime adTime;

    /**
     * 回访次数
     */
    private Integer adRevisit;

    /**
     * 逻辑删除字段
     */
    private Boolean isDel;

    public Long getAdId() {
        return adId;
    }

    public void setAdId(Long adId) {
        this.adId = adId;
    }

    public Long getAdUid() {
        return adUid;
    }

    public void setAdUid(Long adUid) {
        this.adUid = adUid;
    }

    public Long getAdAnid() {
        return adAnid;
    }

    public void setAdAnid(Long adAnid) {
        this.adAnid = adAnid;
    }

    public LocalDateTime getAdTime() {
        return adTime;
    }

    public void setAdTime(LocalDateTime adTime) {
        this.adTime = adTime;
    }

    public Integer getAdRevisit() {
        return adRevisit;
    }

    public void setAdRevisit(Integer adRevisit) {
        this.adRevisit = adRevisit;
    }

    public Boolean getIsDel() {
        return isDel;
    }

    public void setIsDel(Boolean isDel) {
        this.isDel = isDel;
    }

    @Override
    public String toString() {
        return "Adapter{" +
        "adId = " + adId +
        ", adUid = " + adUid +
        ", adAnid = " + adAnid +
        ", adTime = " + adTime +
        ", adRevisit = " + adRevisit +
        ", isDel = " + isDel +
        "}";
    }
}
